import React from 'react'

class Hello2 extends React.Component {
    constructor(){
        super()
        this.state = {
            name:'12312313'
        }
    }
    render (){
        return (
            <div>
                <h1>hello world</h1>
                姓名:
                <br />
                { this.state.name }
            </div>
        )
    }
}

export default Hello2